import { get, post } from '../config'

//用户手机号邮箱用户名登录
export const user_login =({username,password}) => post('/fl-registerOrLogin/loginUser',{username,password});

//判断手机号是否注册
export const ByPhoneNum=({phoneNum})=>get('/fl-searchUser/existUserByPhoneNum',{phoneNum});
//通过邮箱判断用户是否存在
export const ByEmail=({email})=>get('/fl-searchUser/existUserByEmail',{email});
//通过用户名判断用户是否存在
export const ByUser=({username})=>get('/fl-searchUser/existUserByUsername',{username});

